export const mapTree  = [
    {
      title: "驾驶舱",
      value: [
        {
          id: 6,
          label: "自然水系",
          default: true,
          show: true,
          type: "folder",
          children: [
            // {
            //   id:7,
            //   label: "干流",
            //   url:tileUrl + "/server/rest/services/Hosted/B_SZY_SXSW_HP/FeatureServer",
            //   default: true,
            //   show: true,
            //   type: "layer",
            //   children: [],
            //   mapOb: '',
            // },
            {
              id: 8,
              label: "湖泊",
              url:
                tileUrl +
                "/server/rest/services/Hosted/B_SZY_SXSW_HP/FeatureServer",
              //  api:'/cockpit/getNaturalInfo' ,
               customAttributes: {
                api:'/cockpit/getNaturalInfo' ,
                type: "3"
              },
              default: true,
              show: true,
              type: "layer",
              secondType: "polygon",
              children: [],
              color: "rgba(3, 230, 254, 1)",
              mapOb: "",
            },
            {
              id: 9,
              label: "港渠",
              default: true,
              api:'/cockpit/getDrainageInfo' ,
              url:
                tileUrl +
                "/server/rest/services/Hosted/%E6%B1%89%E9%98%B3%E5%8C%BA%E6%B0%B4%E6%B8%A0/FeatureServer",
              show: true,
              secondType: "polygon",
              color: "rgba(3, 230, 254, 1)",
              type: "layer",
              children: [],
              mapOb: "",
            },
          ],
        },
        {
          id: 10,
          label: "排水设施",
          default: true,
          show: true,
          type: "folder",
          children: [
            {
              id: 11,
              label: "泵站",
              customAttributes: {
                api:'/cockpit/getDrainageInfo' ,
                type: "5"
              },
              url:
                tileUrl +
                "/server/rest/services/Hosted/B_SZY_SLGC_HYQBZ/FeatureServer/0",
              default: true,
              show: true,
              img: front1,
              type: "layer",
              secondType: "point",
              mapOb: "",
              children: [],
            },
            {
              id: 12,
              label: "提防",
              url:
                tileUrl +
                "/server/rest/services/Hosted/B_SZY_SLGC_YJDF/FeatureServer/11",
              default: true,
              show: true,
              type: "layer",
              secondType: "point",
              img: front2,
              mapOb: "",
              children: [],
            },
            {
              id: 13,
              label: "涵闸",
              url:
                tileUrl +
                "/server/rest/services/Hosted/B_SZY_SLGC_HYQHZ/FeatureServer/3",
              default: true,
              show: true,
              type: "layer",
              secondType: "point",
              img: front3,
              mapOb: "",
              children: [],
            },
          ],
        },
        {
          id: 14,
          label: "管网",
          default: true,
          show: true,
          type: "folder",
          children: [
            {
              id: 15,
              label: "排水管网",
              url:
                tileUrl +
                "/server/rest/services/Hosted/A_GXGL_PSGX/FeatureServer/0",
              default: false,
              show: false,
              type: "layer",
              secondType: "polyLine",
              color: "rgba(3, 230, 254, 1)",
              mapOb: "",
              children: [],
            },
            {
              id: 16,
              label: "给水管网",
              url:
                tileUrl +
                "/server/rest/services/Hosted/A_GXGL_JSGX/FeatureServer/0",
              default: false,
              show: false,
              type: "layer",
              secondType: "polyLine",
              color: "rgba(171,228,153, 1)",
              mapOb: "",
              children: [],
            },
          ],
        },
      ],
    },
    {
      title: "建设管理",
      value: [
        // {
        //   id:17,
        //   label: "项目分类",
        //   default: true,
        //   show: true,
        //   type: "folder",
        //   children: [
        //     {
        //       id:18,
        //       label: "污水收集完善",
        //       url:"",
        //       default: true,
        //       show: true,
        //       type: "layer",
        //       secondType:"point",
        //       img:projet7,
        //       children: [],
        //       mapOb: '',
        //     },
        //     {
        //       id:19,
        //       label: "源头小区海绵建设",
        //       url:"",
        //       default: true,
        //       show: true,
        //       type: "layer",
        //       secondType:"point",
        //       img:projet6,
        //       children: [],

        //       mapOb: '',
        //     },
        //     {
        //       id:20,
        //       label: "面源污染控制",
        //       url:"",
        //       default: true,
        //       show: true,
        //       type: "layer",
        //       secondType:"point",
        //       img:projet5,
        //       children: [],

        //       mapOb: '',
        //     },
        //     {
        //       id:21,
        //       label: "内涝治理及生态修复",
        //       url:"",
        //       default: true,
        //       show: true,
        //       type: "layer",
        //       img:projet4,
        //       secondType:"point",
        //       children: [],
        //       mapOb: '',
        //     },
        //     {
        //       id:22,
        //       label: "内涝放治",
        //       url:"",
        //       default: true,
        //       show: true,
        //       type: "layer",
        //       img:projet3,
        //       secondType:"point",
        //       children: [],

        //       mapOb: '',
        //     },
        //     {
        //       id:23,
        //       label: "其他项目",
        //       url:"",
        //       default: true,
        //       show: true,
        //       type: "layer",
        //       img:projet1,
        //       secondType:"point",
        //       children: [],
        //       mapOb: '',
        //     },
        //   ],
        // },
        {
          id: 24,
          label: "污水处理厂",
          default: true,
          show: true,
          type: "folder",
          children: [
            {
              id: 25,
              label: "黄金口污水处理厂",
              url:
                tileUrl +
                "/server/rest/services/Hosted/G_HMCS_WSCLC/FeatureServer/0",
              default: true,
              show: true,
              type: "layer",
              secondType: "polygon",
              children: [],
              color: "rgba(103, 20, 254, 1)",
              mapOb: "",
            },
            {
              id: 26,
              label: "南太子湖污水处理厂",
              default: true,
              url:
                tileUrl +
                "/server/rest/services/Hosted/G_HMCS_WSCLC/FeatureServer/1",
              show: true,
              secondType: "polygon",
              color: "rgba(3, 230, 254, 1)",
              type: "layer",
              children: [],
              mapOb: "",
            },
          ],
        },
        {
          id: 27,
          label: "积水点",
          default: true,
          show: true,
          type: "folder",
          children: [
            {
              id: 28,
              label: "积水点",
              url: "",
              default: true,
              show: true,
              type: "layer",
              secondType: "point",
              img: projet9,
              children: [],
              mapOb: "",
            },
          ],
        },
      ],
    },
    {
      title: "运行检测及评价",
      value: [
         {
          id:29,
          label: "物联设备",
          default: true,
          show: true,
          type: "folder",
          children: [
            {
              id:30,
              label: "雨量检测仪",
              url:tileUrl+"/server/rest/services/Hosted/ceshi/FeatureServer/2",
              default: true,
              show: true,
              type: "layer",
              definitionExpression:"type = '鹰眼摄像机'",
              secondType:"pointCollection",
              img:yunx5,
              children: [],
              mapOb: '',
            },
            {
              id:31,
              label: "液位检测仪",
              url:tileUrl+"/server/rest/services/Hosted/ceshi/FeatureServer/2",
              default: true,
              show: true,
              type: "layer",
              definitionExpression:"type = '积水液位监测'",
              secondType:"pointCollection",
              img:yunx4,
              children: [],
              mapOb: '',
            },
            {
              id:32,
              label: "流量检测仪",
              url:tileUrl+"/server/rest/services/Hosted/ceshi/FeatureServer/2",
              default: true,
              show: true,
              definitionExpression:"type = '流量检测仪'",
              type: "layer",
              secondType:"pointCollection",
              img:yunx3,
              children: [],
              mapOb: '',
            },
            {
              id:33,
              label: "水质检测仪",
              url:tileUrl+"/server/rest/services/Hosted/ceshi/FeatureServer/2",
              default: true,
              show: true,
              definitionExpression: "type = '水质水位监测'",
              type: "layer",
              secondType:"pointCollection",
              img:yunx2,
              children: [],
              mapOb: '',
            },
            {
              id:34,
              label: "监控视频",
              url:tileUrl+"/server/rest/services/Hosted/ceshi/FeatureServer/2",
              default: true,
              show: true,
              definitionExpression: "type = '渍水点摄像头' OR type = '人脸识别摄像机' OR type = '鹰眼摄像机' OR type = '险段摄像头' OR type = '内涝点摄像头' OR type = '涵闸摄像头'",
              type: "layer",
              secondType:"pointCollection",
              img:yunx1,
              children: [],
              mapOb: '',
            },
         
          ],
        },
      ],
    },
    {
      title: "应急指挥",
      value: [
        {
          // id: 35,
          // label: "应急物资点",
          // url:tileUrl+"/server/rest/services/Hosted/G_YJ_YJWZCB/FeatureServer/16",
          // default: true,
          // show: true,
          // type: "layer",
          // secondType: "point",
          // img: yunx1,
          // children: [],
          // mapOb: "",
          id: 35,
          label: "应急物资",
          default: true,
          show: true,
          type: "folder",
          children: [
            {
        id: 36,
          label: "应急物资点",
          url:tileUrl+"/server/rest/services/Hosted/G_YJ_YJWZCB/FeatureServer/16",
          default: true,
          show: true,
          type: "layer",
          secondType: "point",
          img: yj5,
          children: [],
          mapOb: "",
            },
          ],
        },
        {
          id:37,
          label: "应急避难场所",
          default: true,
          show: true,
          type: "folder",
          children: [
            {
              id:38,
              label: "学校",
              url:tileUrl+"/server/rest/services/Hosted/G_YG_YJBNCS/FeatureServer/4",
              default: true,
              show: true,
              type: "layer",
              definitionExpression: "应急避难场所建设类型 = '学校类'",
              secondType:"pointCollection",
              img:yj1,
              children: [],
              mapOb: '',
            },
            {
              id:39,
              label: "公园",
              url:tileUrl+"/server/rest/services/Hosted/G_YG_YJBNCS/FeatureServer/4",
              default: true,
              show: true,
              type: "layer",
              definitionExpression: "应急避难场所建设类型 = '公园类'",
              secondType:"pointCollection",
              img:yj2,
              children: [],
              mapOb: '',
            },
            {
              id:40,
              label: "广场",
              url:tileUrl+"/server/rest/services/Hosted/G_YG_YJBNCS/FeatureServer/4",
              default: true,
              show: true,
              type: "layer",
              definitionExpression: "应急避难场所建设类型 = '广场类'",
              secondType:"pointCollection",
              img:yj3,
              children: [],
              mapOb: '',
            },
            {
              id:41,
              label: "体育场",
              url:tileUrl+"/server/rest/services/Hosted/G_YG_YJBNCS/FeatureServer/4",
              default: true,
              show: true,
              type: "layer",
              definitionExpression: "应急避难场所建设类型 = '体育场'",
              secondType:"pointCollection",
              img:yj4,
              children: [],
              mapOb: '',
            },
          ],
        },
        
      ],
    },
  ]